package com.space.school.utils;

import java.util.Random;

public class KeyUtil {
    public static String generateKey(int num) {
        Random r = new Random();
//        六位随机数
        Integer key = r.nextInt(900000)+100000;
        return System.currentTimeMillis()+String.valueOf(key);
    }
}
